::WS::Utils::ServiceTypeDef Client FreshBookApi AddressDetails {
    street1             {type string minOccurs 0 maxOccurs 1}
    street2             {type string minOccurs 0 maxOccurs 1}
    city                {type string minOccurs 0 maxOccurs 1}
    province            {type string minOccurs 0 maxOccurs 1}
    postal_code         {type string minOccurs 0 maxOccurs 1}
    country             {type string minOccurs 0 maxOccurs 1}
}

::WS::Utils::ServiceTypeDef Client FreshBookApi ApiDetail {
    requests            {type string minOccurs 1 maxOccurs 1}
    request_limit       {type string minOccurs 1 maxOccurs 1}
}

::WS::Client::DefineRestMethod FreshBookApi system system.current {
} {
    company_name        {type string minOccurs 1 maxOccurs 1}
    profession          {type string minOccurs 1 maxOccurs 1}
    address             {type AddressDetails minOccurs 1 maxOccurs 1}
    api                 {type ApiDetail minOccurs 1 maxOccurs 1}
}
